//
//  AppDelegate+AppService.swift
//  fho
//
//  Created by creatbot on 2022/8/12.
//

import Foundation

extension AppDelegate {
    func initService() -> Void {
//        NotificationCenter.default.addObserver(self, selector: #selector(loginStateChange), name: NSNotification.Name(rawValue: ), object: <#T##Any?#>)
    }
    
    func loginStateChange() -> Void {
        
    }
    //键盘
    func setupIQKeyboardManager() {
        IQKeyboardManager.shared.enable = true
        IQKeyboardManager.shared.enableAutoToolbar = false
        IQKeyboardManager.shared.shouldResignOnTouchOutside = true
//        IQKeyboardManager.shared.resignOnTouchOutside = true
    }
    
}
